<!--<meta http-equiv="refresh" content="1"/>-->
<link href="__PUBLIC__/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="__PUBLIC__/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/layer/layer.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/bootstrap.js" type="text/javascript"></script>
<script src="__PUBLIC__/Admin/js/borrowInfo.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>借阅订单管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">请及时确定借阅订单。</span>
    </div>

    <div class="read_type_box">
        <div class="trade_box">
            <volist name="_getNoIfBackIfo" id="vo">
                <div class="borrow_if_box">
                    <div class="borrow_if_span">
                        <span>到期时间：</span>
                        <span>{$vo['borrow_backtime']|date='Y-m-d H:i:s',###}</span>
                    </div>
                    <div class="borrow_if_info">
                        <volist name="_getAllUserInfo" id="fo">
                            <if condition="$vo['u_id'] eq $fo['u_id']">
                                <volist name="_getAllReadType" id="zo">
                                    <if condition="$fo['u_type_id'] eq $zo['u_type_id']">
                                        <span>{$zo['u_type_name']}：</span>
                                    </if>
                                </volist>
                                <span>{$fo['real_name']}</span>
                                <span>身份证号码：</span>
                                <span>{$fo['real_number']}</span>
                            </if>
                        </volist>
                    </div>
                    <div class="borrow_if_info" id="borrow_top">
                        <volist name="_getAllBookInfo" id="so">
                            <if condition="$vo['book_id'] eq $so['book_id']">
                                <span>条形码：</span>
                                <span>{$so['book_barcode']}</span>
                                <span>《{$so['book_name']}》</span>
                            </if>
                        </volist>
                        <span>借阅状态：</span>
                        <if condition="$vo['borrow_ifback'] eq 2">
                            <span style="color: red">未归还</span>
                        </if>
                        <if condition="$vo['borrow_ifback'] eq 3">
                            <span style="color: #009f95">归还请求</span>
                        </if>
                    </div>
                    <div class="borrow_input">
                        <div class="borrow_winth">
                            <if condition="$vo['borrow_ifback'] eq 2">
                                <input type="button" class="borrow_right go" go-id="{$vo['borrow_id']}" book-id="{$vo['book_id']}" value="完成归还">
                            </if>
                            <if condition="$vo['borrow_ifback'] eq 3">
                                <input type="button" class="go" go-id="{$vo['borrow_id']}" value="完成归还" readonly="">
                                <input type="button" id="borrow_color" class="out" out-id="{$vo['borrow_id']}" value="驳回请求" readonly="">
                            </if>
                            <input type="hidden" value="{:U('Admin/InfoManage/goBookIfBack')}" id="go-url">
                            <input type="hidden" value="{:U('Admin/InfoManage/outBookIfBack')}" id="out-url">
                        </div>
                    </div>
                </div>
            </volist>
        </div>
    </div>
</div>